package com.bbs.model;

import java.io.Serializable;
import java.util.Date;

public class Posts implements Serializable {
  
	private static final long serialVersionUID = 1L;
	private String author;
	private String title;
	private String kind;
	private String content;
	private Date time;
	private int id;
	private int visits;
	private int downloadCount;
	private int digest;
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getKind() {
		return kind;
	}
	public void setKind(String kind) {
		this.kind = kind;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getVisits() {
		return visits;
	}
	public void setVisits(int visits) {
		this.visits = visits;
	}
	public int getDownloadCount() {
		return downloadCount;
	}
	public void setDownloadCount(int downloadCount) {
		this.downloadCount = downloadCount;
	}
	public int getDigest() {
		return digest;
	}
	public void setDigest(int digest) {
		this.digest = digest;
	}
	@Override
	public String toString() {
		return "Posts [author=" + author + ", content=" + content + ", digest="
				+ digest + ", downloadCount=" + downloadCount + ", id=" + id
				+ ", kind=" + kind + ", time=" + time + ", title=" + title
				+ ", visits=" + visits + "]";
	}
	
}
